package com.example.stock.eo;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@TableName("stock_trade")
@Accessors(chain = true)
public class StockTradeEo implements Serializable {

    /**
     * 1持仓 0空仓
     */
    private Short holdStatus;

    /**
     * 持仓
     */
    private BigDecimal holdVol;

    /**
     * 交易额
     */
    private BigDecimal money;

    /**
     * 交易时间
     */
    private LocalDateTime holdTime;

    /**
     * 价格
     */
    private BigDecimal price;

    /**
     * 盈亏
     */
    private BigDecimal profit;

    /**
     * 佣金
     */
    private BigDecimal charge;

    /**
     *
     */
    private BigDecimal ext1;

}